package com.ruoyi.student_club.vo.app;

import lombok.Data;

/**
 * @Author lin
 * @Date 2022/1/30 0:52
 */
@Data
public class ClubPictureVo {

    private Integer posterId;

    private String posterPath;

    public void setPosterPath(String path) {
        if (path != null && path.contains("upload")){
            this.posterPath = path.substring(path.indexOf("upload")-1);
        }
    }

}
